<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>修改信息</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 20px;
            background-color: #f4f4f4;
        }
        h1 {
            color: #333;
            text-align: center;
        }
        hr {
            border: 0;
            height: 1px;
            background: #ccc;
            margin: 20px 0;
        }
        fieldset {
            background-color: #fff;
            border: 1px solid #ccc;
            padding: 20px;
            margin: 0 auto;
            width: 30%;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            border-radius: 5px;
        }
 
        legend {
            background-color: #044599;
            color: #fff;
            padding: 5px 10px;
            border-radius: 5px;
            text-align: center;
            width: auto; /* To make the legend width fit its content */
        }
 
        table {
            width: 90%;
            border-collapse: collapse;
        }
        
        table td {
            padding: 10px;
            border-bottom: 1px solid #ddd;
        }
        table label {
            font-weight: bold;
        }
        input[type="text"], input[type="submit"] {
            width: 100%;
            padding: 8px;
            margin-top: 5px;
            box-sizing: border-box;
            border: 1px solid #ccc;
            border-radius: 4px;
        }
        input[type="submit"] {
            background-color: #044599;
            color: white;
            border: none;
            cursor: pointer;
            font-size: 1em;
        }
        input[type="submit"]:hover {
            background-color: #c2d7f2;
        }
    </style>
</head>
<body>
    <h1>修改信息</h1>
    <hr />
    <form method="post">
        <fieldset>
            <legend>修改员工信息</legend>
            <table>
                <tr>
                    <td><label for="id">Id</label></td>
                    <td><input type="text" id="id" name="id" value="<%= data.id %>" disabled /></td>
                </tr>
                <tr>
                    <td><label for="day">工作日期</label></td>
                    <td><input type="text" id="day" name="day" value="<%= data.day %>" /></td>
                </tr>
                <tr>
                    <td><label for="name">员工姓名</label></td>
                    <td><input type="text" id="name" name="name" value="<%= data.name %>" /></td>
                </tr>
                <tr>
                    <td><label for="idnumber">身份证号</label></td>
                    <td><input type="text" id="idnumber" name="idnumber" value="<%= data.idnumber %>" /></td>
                </tr>
                <tr>
                    <td><label for="salary">工资</label></td>
                    <td><input type="text" id="salary" name="salary" value="<%= data.salary %>" /></td>
                </tr>
                <tr>
                    <td><label for="reward">奖金</label></td>
                    <td><input type="text" id="reward" name="reward" value="<%= data.reward %>" /></td>
                </tr>
                <tr>
                    <td><label for="phonenumber">联系方式</label></td>
                    <td><input type="text" id="phonenumber" name="phonenumber" value="<%= data.phonenumber %>" /></td>
                </tr>
            </table>
            <input type="submit" value="提交修改" />
        </fieldset>
    </form>
</body>
</html>